home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 1515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: diku.dk!not-for-mail
  2. From: Finn Nielsen <zznyyd@diku.dk>
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: Startup program
  5. Date: 15 Jan 1996 14:12:11 GMT
  6. Organization: Department of Computer Science, University of Copenhagen
  7. Sender: zznyyd@galar.diku.dk
  8. Message-ID: <4ddnbr$c8h@odin.diku.dk>
  9. References: <30F78F25.4B19@brunel.ac.uk> <Pine.OSF.3.91.960114145117.13866A-100000@sable.ox.ac.uk>
  10. NNTP-Posting-Host: odin.diku.dk
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Mailer: Mozilla 1.12 (X11; I; HP-UX A.09.05 9000/715)
  15. X-URL: news:Pine.OSF.3.91.960114145117.13866A-100000@sable.ox.ac.uk
  16.  
  17. Ben Hutchings <worc0223@sable.ox.ac.uk> wrote:
  18. >On Sat, 13 Jan 1996, Philip Chung wrote:
  19. >
  20. >> Hi all,
  21. >> 
  22. >> Could somebody recommend a startup program which will let me execute
  23. >> different startup-sequences according to which mouse button is pressed?
  24. >> I would like to use a different startup when I boot up using a 15kHz
  25. >> monitor so that I don't get any crazy screens.
  26. >
  27. >I wrote a program called Buttons to use in my startup-sequence, which 
  28. >does this sort of thing. If you want to check for left button for instance:
  29. >    buttons l
  30. >    if warn
  31. >        execute s:other-startup
  32. >        quit ;if other-startup doesn't endcli
  33. >    endif
  34. >I don't think it is practically possible to combine these lines into 
  35. >just one program, because of the way script execution works.
  36. >
  37. >If you want a copy of Buttons (with minimal documentation) e-mail me.
  38. >
  39. >Ben.
  40. >
  41. >--
  42. >Ben Hutchings, student. Finger me on worc0223@sable.ox.ac.uk for more rubbish.
  43. >email: benjamin.hutchings@worc.ox.ac.uk   WWW: http://sable.ox.ac.uk/~worc0223
  44. >     Speak out against OUCS .sig censorship! See my web pages for details
  45. >
  46.  
  47. Or even better use the CheckMouse utility found in Aminet:util/boot. My startup
  48. looks pretty much like this:
  49.  
  50. Failat 40
  51. CheckMouse ; LMB=5, RMB=10, MMB=20
  52. Set Buttons $RC
  53. Failat 10
  54.  
  55. If $Buttons EQ 0
  56.  Execute S:Startup-Sequence.WB
  57.  Skip End
  58. EndIf
  59.  
  60. If $Button EQ 5
  61.  Execute S:Games-Startup
  62.  Skip End
  63. Endif
  64.  
  65.  
  66. Lab End
  67.  
  68.  
  69. --- 
  70. /-ZzNyYd! Design.--------------------Statement: Perhaps the world exists...-\
  71.  Finn Nielsen <zznyyd@diku.dk>  -   WWW: http://www.diku.dk/students/zznyyd/
  72.  (Student) Department of Computer Science, University of Copenhagen, Denmark
  73. \-PGP: Id=AB1AB0AD Fingerpr=58EC5501A99C0B40E1943FDACC239217--Pulven Rulez!-/
  74.  
  75.